package com.sleep.psy.external_server.business.main.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author wenliguo
 * @date 2025年08月12日 11:26
 */
@ApiModel("更新用户信息")
@Data
public class UpdateUserReq {

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id",required = true)
    private Long id;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("性别")
    private Integer sex;

    @ApiModelProperty("生日")
    private String birthday;

    @ApiModelProperty("民族")
    private String nationality;

    @ApiModelProperty("籍贯")
    private String nativePlace;
}
